package com.huaqing.manage.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huaqing.common.annotation.Excel;
import com.huaqing.common.core.domain.BaseEntity;

/**
 * 桌位管理对象 dining_table
 * 
 * @author cdutTang
 * @date 2025-02-28
 */
public class DiningTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 桌位ID */
    private Long tableId;

    /** 桌号 */
    @Excel(name = "桌号")
    private String tableNumber;

    /** 座位数 */
    @Excel(name = "座位数")
    private Long seatCount;

    /** 状态（0空闲 1预订 2占用） */
    @Excel(name = "状态", readConverterExp = "0=空闲,1=预订,2=占用")
    private String status;

    /** 区域 */
    @Excel(name = "区域")
    private String area;

    /** 用户信息信息 */
    private List<Customer> customerList;

    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setTableNumber(String tableNumber) 
    {
        this.tableNumber = tableNumber;
    }

    public String getTableNumber() 
    {
        return tableNumber;
    }
    public void setSeatCount(Long seatCount) 
    {
        this.seatCount = seatCount;
    }

    public Long getSeatCount() 
    {
        return seatCount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    public List<Customer> getCustomerList()
    {
        return customerList;
    }

    public void setCustomerList(List<Customer> customerList)
    {
        this.customerList = customerList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tableId", getTableId())
            .append("tableNumber", getTableNumber())
            .append("seatCount", getSeatCount())
            .append("status", getStatus())
            .append("area", getArea())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("customerList", getCustomerList())
            .toString();
    }
}
